package demo
{
	import com.urbansquall.ginger.tools.IBitmapDataLibrary;
	
	import flash.display.BitmapData;

	public class BitmapDataLibrary implements IBitmapDataLibrary
	{
		public static const BOMB_TS:String = "bomb_ts";
		[Embed(source='../assets/bomb.png')]
		private static const m_bomb_ts : Class;
		
		public static const DOG_YELP_TS:String = "dog_yelp_ts";
		[Embed(source='../assets/dog_yelp.png')]
		private static const m_dog_yelp_ts : Class;

		public function lookupBitmapData(a_bitmap:String):BitmapData
		{
			switch( a_bitmap )
			{
				case BOMB_TS:
					return new m_bomb_ts().bitmapData;
					break;
				case DOG_YELP_TS:
					return new m_dog_yelp_ts().bitmapData;
					break;
			}
			return null;
		}
		
	}
}